package org.springframework.zp;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.zp.bean.TestBean;

/**
 * 仅用于验证 本地 spring framework 可以正确启动，无其他作用
 */
public class Main {
	public static void main(String[] args) {

		AnnotationConfigApplicationContext context =
				new AnnotationConfigApplicationContext();
		context.register(TestBean.class);
		context.refresh();
		TestBean bean = context.getBean(TestBean.class);

		System.out.println("Hello world!");
	}
}